package net.alan.modules.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 统计信息
 * Author 李岩飞
 * Email eliyanfei@126.com
 * 2017/11/21
 */
@Entity
@Table(name = "workstat")
public class WorkStat {
    @Id
    @Column(length = 32)
    private String name;//统计对象
    private Long value;//统计值

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }
}
